const express = require('express');
const router = express.Router();
const productController = require('@controllers/miniapp/product.controller');

// 获取推荐商品列表
router.get('/recommend', productController.getRecommendProducts);

// 获取商品列表
router.get('/', productController.getProducts);

// 获取商品详情
router.get('/:id', productController.getProductDetail);

module.exports = router; 